package com.jumeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_wx_user")
public class WxUserEntity extends BaseEntity{

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "openid")
    private String openId;

    @TableField(value = "nickname")
    private String nickname;

    @TableField(value = "sex")
    private Integer sex;

    @TableField(value = "province")
    private String province;

    @TableField(value = "city")
    private String city;

    @TableField(value = "country")
    private String country;

    @TableField(value = "headimgurl")
    private String headimgurl;

    @TableField(value = "unionid")
    private String unionid;

}
